/* professional skills styles
.skillspage{
    padding: 0;
    margin: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.skillscontainer{
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
}
.skillstitle header{
display: flex;
justify-content: center;
text-shadow: 0px 3px 6px 0px #000000;
border: solid 2px #ffff;
border-radius: 2px;
padding: 10px;
}
.skillstitle hr{
    width: 100%;
border: solid 2px #3453ffef;
    

}

.technicalSkills{
    height: fit-content;
    display: flex;
    flex-wrap:wrap ;
}
.skillscontainer .profskills{
    height:max-content;
}
.profskills{
    padding: 20px 50px;
}
.profskills .heading{
    text-align: center;
    text-decoration:underline;
    text-underline-offset: 5px;
    text-transform: capitalize;
    color:#3453ffef;
    margin-bottom: 20px;
}
.technical-bar .bar{
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0px;
    margin-left: 350px;
    width: 500px;
}
.technical-bar .bar:first-child{
    margin-top: 0;
}
.technical-bar .bar:last-child{
    margin-bottom: 0;
}
.technical-bar .bar .indfo span{
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;

}
@keyframes showText{
    100%{
        opacity: 1;
    }
}
.technical-bar .bar .progress-line {
    position: relative;
    border-radius: 10px;
    width: 100%;
    height: 5px;
    margin-top: 5px;
    background-color: #000;
    animation: animate 1s cubic-bezier(1, 0, 0.5, 1) forwards; 
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes animate {
    100% {
        transform: scaleX(1); 
    }
}

.technical-bar .bar .progress-line span{
    height: 5px;
    background-color: #3453ffef;
    position: absolute;
    border-radius: 10px;
    animation: animate 1s 1s cubic-bezier(1,0,0.5,1) forwards;
    transform: scale(0);
    transform-origin: left;
}
.progress-line.one span{
    width: 95%;
}
.progress-line.two span{
    width: 80%;
}
.progress-line.three span{
    width: 90%;
}
.progress-line.four span{
    width: 89%;
}
.progress-line span::after{
    position: absolute;
    padding: 1px 8px ;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    top: -28px;
    right: -20px;
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
}
.progress-line.one span::after{
    content: "95%";
}
.progress-line.two span::after{
    content: "80%";
}
.progress-line.three span::after{
    content: "90%";
}
.progress-line.four span::after{
    content: "89%";
}
.progress-line span::before{
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    top: 10px;
    right: 0;
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
}
@keyframes showText{
    100%{
        opacity: 1;
    }
}

.technicalSkills{
    width: 100%;
    height: 400px;
    display: flex;
    flex-wrap: wrap;
}
.technicalSkills .tsheader{
    width: 100%;
    padding: 0;
    margin: 0;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    text-transform: capitalize;
    text-decoration: underline;
    text-underline-offset: 5px;
    color: #3453ffef;
}
.tscontainer{
    position:relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 66px;
    margin-left: 5px;
}
.tscontainer .card{
    position:relative;
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    align-items: center;
    background-color: #fff;
    width: 150px;
    height: 150px;
    border: 2px #000;
    box-shadow: 0px 3px 12px 0px #000;
}

.tscontainer .card .percent {
    position: relative;
    width: 100px;
    height: 100px;
}

.tscontainer .card .percent svg {
    width: 100px;
    height: 100px;
}

.tscontainer .card .percent svg circle {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke: #191919;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-dasharray: 282.6;
    stroke-dashoffset: 0;
}

.tscontainer .card .percent svg circle:nth-child(2) {
    stroke: var(--clr);
    stroke-dasharray: 282.6;
    stroke-dashoffset: calc(282.6 - (282.6 * var(--num)) / 100);
}

.dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
        transform-origin: 50% 50%;
    width: 100px;
    height: 100px;
    z-index: 10;
    animation: animatedot 2s linear forwards;
}

@keyframes animatedot {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) rotate(calc(3.6deg * var(--num)));    }
}

.dot::before {
    content: '';
    position: absolute;
    top: 0px; 
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--clr);
    box-shadow: 0 0 10px var(--clr), 0 0 20px var(--clr);
}
.card .number{
position: absolute;
inset: 0;
display: flex;
justify-content: center;
align-content: center;
flex-direction: column;
text-align: center;

}
.card .number h2 {
    font-size: 20px;

}
.card .number h2 span{
    font-size:10px ;
    padding-left: -2px;
    margin-left: -2px;
}
.card .number  p{
    text-transform: uppercase;
    font-weight: 600;
    font-size: 10px;
    text-align: center;
    text-wrap: wrap;
}
@media(max-width:768px){
    .skillscontainer{
        height: auto;

    }
    .technical-bar .bar{
        display:flex;
        flex-direction:column;
        margin-left: 0%;
        flex-wrap: wrap;
        width: 100%;
    }
    .profskills .heading{
        margin-top: 20px;
    }
    .tscontainer{
        flex-direction: column;
        gap: 10px;
    }
    .tscontainer .card{
        width: 80%;
        height: auto;
    }
}
@media(max-width:400px){
    .card .number h2{
        font-size: 18px;
    }
    .card .number p{
        font-size: 9px;

    }
} */




/* Professional skills styles */
.skillspage {
    padding: 0;
    margin: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.skillscontainer {
    width: 100%;
    height: auto; /* Change from 100vh to auto for better responsiveness */
    background-color: #ffffff;
    padding: 20px; /* Added padding for mobile view */
}

.skillstitle header {
    display: flex;
    justify-content: center;
    text-shadow: 0px 3px 6px 0px #000000;
    border: solid 2px #ffff;
    border-radius: 2px;
    padding: 10px;
}

.skillstitle hr {
    width: 100%;
    border: solid 2px #3453ffef;
}

.technicalSkills {
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
}

.skillscontainer .profskills {
    height: max-content;
}

.profskills {
    padding: 20px 50px;
}

.profskills .heading {
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-transform: capitalize;
    color: #3453ffef;
    margin-bottom: 20px;
}

.technical-bar .bar {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
    margin-left: 350px;
    width: 500px;
}

.technical-bar .bar:first-child {
    margin-top: 0;
}

.technical-bar .bar:last-child {
    margin-bottom: 0;
}

.technical-bar .bar .indfo span {
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}

@keyframes showText {
    100% {
        opacity: 1;
    }
}

.technical-bar .bar .progress-line {
    position: relative;
    border-radius: 10px;
    width: 100%;
    height: 5px;
    margin-top: 5px;
    background-color: #000;
    animation: animate 1s cubic-bezier(1, 0, 0.5, 1) forwards; /* Fix cubic-bezier values */
    transform: scaleX(0); /* Starts with 0 width */
    transform-origin: left;
}

@keyframes animate {
    100% {
        transform: scaleX(1); /* Animates to full width (100%) */
    }
}

.technical-bar .bar .progress-line span {
    height: 5px;
    background-color: #3453ffef;
    position: absolute;
    border-radius: 10px;
    animation: animate 1s 1s cubic-bezier(1, 0, 0.5, 1) forwards;
    transform: scale(0);
    transform-origin: left;
}

.progress-line.one span {
    width: 95%;
}

.progress-line.two span {
    width: 80%;
}

.progress-line.three span {
    width: 90%;
}

.progress-line.four span {
    width: 89%;
}

.progress-line span::after {
    position: absolute;
    padding: 1px 8px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    top: -28px;
    right: -20px;
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
}

.progress-line.one span::after {
    content: "95%";
}

.progress-line.two span::after {
    content: "80%";
}

.progress-line.three span::after {
    content: "90%";
}

.progress-line.four span::after {
    content: "89%";
}

.progress-line span::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    top: 10px;
    right: 0;
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
}

/* End ------------- */
.technicalSkills {
    width: 100%;
    height: auto; /* Changed from fixed height */
    display: flex;
    flex-wrap: wrap;
}

.technicalSkills .tsheader {
    width: 100%;
    padding: 0;
    margin: 0;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    text-transform: capitalize;
    text-decoration: underline;
    text-underline-offset: 5px;
    color: #3453ffef;
}

.tscontainer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 66px;
    margin-left: 5px;
}

.tscontainer .card {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    width: 150px;
    height: 150px;
    border: 2px #000;
    box-shadow: 0px 3px 12px 0px #000;
}

/*----------- */
.tscontainer .card .percent {
    position: relative;
    width: 100px;
    height: 100px;
}

.tscontainer .card .percent svg {
    width: 100px;
    height: 100px;
}

.tscontainer .card .percent svg circle {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke: #191919;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-dasharray: 282.6;
    stroke-dashoffset: 0;
}

.tscontainer .card .percent svg circle:nth-child(2) {
    stroke: var(--clr);
    stroke-dasharray: 282.6;
    stroke-dashoffset: calc(282.6 - (282.6 * var(--num)) / 100);
}

.dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(0deg); /* Start from 0 deg */
    transform-origin: 50% 50%;
    width: 100px;
    height: 100px;
    z-index: 10;
    animation: animatedot 2s linear forwards;
}

@keyframes animatedot {
    0% {
        transform: translateX(-50%) rotate(0deg); /* Starting position */
    }
    100% {
        transform: translateX(-50%) rotate(calc(3.6deg * var(--num))); /* Rotate based on percentage */
    }
}

.dot::before {
    content: '';
    position: absolute;
    top: 0px; /* Place the dot on the edge */
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--clr);
    box-shadow: 0 0 10px var(--clr), 0 0 20px var(--clr);
}

.card .number {
    position:absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    text-align: center;
}

.card .number h2 {
    font-size: 20px;
}

.card .number h2 span {
    font-size: 10px;
    padding-left: -2px;
    margin-left: -2px;
}

.card .number p {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 10px;
    text-align: center;
    text-wrap: wrap;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .skillscontainer {
        padding: 10px; /* Adjusted padding for mobile */
    }

    .technical-bar .bar {
        display: flex;
        flex-direction: column;
        margin-left: 0; /* Center the bars on mobile */
        width: 100%; /* Full width for bars */
    }

    .profskills .heading {
        margin-top: 20px;
    }

    .tscontainer {
        flex-direction: column;
        gap: 10px;
    }

    .tscontainer .card {
        width: 80%; /* Wider cards for mobile */
        height: auto; /* Auto height for cards */
        box-shadow: none; 
        display: flex;
        align-items: center; 
        justify-content: center; 
        margin-left: 150px;  /* Remove shadow for mobile */
    }

    .skillstitle header {
        padding: 15px; /* Adjust padding for mobile */
        font-size: 16px; /* Adjust font size for mobile */
    }

    .technicalSkills .tsheader {
        font-size: 16px;/* Adjust*/
     }} 
    